package lock.synchronizedlock;

public class Test1 {
    public static void main(String[] args) {
        SaleTickets1 saleTickets1 = new SaleTickets1();
        Thread t = new Thread(saleTickets1, "窗口1");
        Thread t1 = new Thread(saleTickets1, "窗口2");
        Thread t2 = new Thread(saleTickets1, "窗口3");
        t.start();
        t1.start();
        t2.start();
    }
}
